<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/3/28
 * Time: 9:58
 */

namespace app\index\controller;

use think\Controller;
use think\facade\Request;
//use think\Request;
# 静态代理
class Demo3 extends Controller
{
    # 静态代理
    public function index(){
        # 静态代理
        return json_encode(Request::get());
//        return json_encode($this->request->get());
//        $request = new \think\Request();
//        return json_encode($request->get());
    }


}